#!/bin/bash
VERSION=1.0.83
docker build -t registry.cn-hangzhou.aliyuncs.com/prode/card-web:${VERSION} .
docker push registry.cn-hangzhou.aliyuncs.com/prode/card-web:${VERSION}
docker rmi -f registry.cn-hangzhou.aliyuncs.com/prode/card-web:${VERSION}
docker images | grep "none" | awk '{print $3 }'|xargs  docker rmi -f